<?php 
global $page_current,$mn_home,$mn_about,$mn_hotel,$mn_tour,$mn_service,$mn_news,$mn_contact,$wpdb,$paged,$slide_show_on_page;

//print_r($_POST);

if(is_home() || is_front_page())
{
	$mn_home = 'class="active"';	
	$slide_show_on_page = "show-on-page-home";
	$page_current = "home";
}
else if(is_page("about-us"))
{
	$page_current = "about-us";
	$mn_about = 'class="active"';
	$slide_show_on_page = "show-on-page-about";
}
else if(is_page("hotels") || $_POST['mybooking']== "hotels")
{
	$page_current = "hotels";
	$mn_hotel = 'class="active"';
	$slide_show_on_page = "show-on-page-hotel";
}
else if(is_page("tours") || is_singular('post') || $_POST['mybooking']=="tours")
{
	$page_current = "tours";
	$mn_tour = 'class="active"';
	$slide_show_on_page = "show-on-page-tour";
}
else if(is_page("services") || is_singular('service'))
{
	$page_current = "services";
	$mn_service = 'class="active"';
	$slide_show_on_page = "show-on-page-service";
}
else if(is_page("news") || is_singular('news-event'))
{
	$page_current = "news";
	$mn_news = 'class="active"';
	$slide_show_on_page = "show-on-page-news";
}
else if(is_page("contact"))
{
	$page_current = "contact";
	$mn_contact = 'class="active"';
	$slide_show_on_page = "show-on-page-contact";
}
?>